import request from '@/utils/request'

// 查询产出记录列表
export function listOutputRecord(query) {
  return request({
    url: '/disposal/outputRecord/list',
    method: 'get',
    params: query
  })
}

// 查询产出记录详细
export function getOutputRecord(id) {
  return request({
    url: '/disposal/outputRecord/' + id,
    method: 'get'
  })
}

// 新增产出记录
export function addOutputRecord(data) {
  return request({
    url: '/disposal/outputRecord',
    method: 'post',
    data: data
  })
}

// 修改产出记录
export function updateOutputRecord(data) {
  return request({
    url: '/disposal/outputRecord',
    method: 'put',
    data: data
  })
}

// 删除产出记录
export function delOutputRecord(id) {
  return request({
    url: '/disposal/outputRecord/' + id,
    method: 'delete'
  })
}
